package cz.proks.easyhelpdesk.gwt.keyprovider;

import com.google.gwt.view.client.ProvidesKey;

import cz.proks.easyhelpdesk.api.model.base.AnIdentifiableModel;

public class KeyProvider<T extends AnIdentifiableModel> implements ProvidesKey<T> {
	
	@Override
	public Object getKey(T item) {
		return item.getId();
	}

}
